/*
 * Copyright 2021 ThoughtWorks, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
$border-color: $border;
$v-border-color-active: #94399e;
$v-tab-border: #f5f5f5;
$v-tab-head-color: $dark-gray;
$v-active-tab: #94399e;
$tab-bg: #e5e5e5;

.h-tab {
  display:         flex;
  flex-direction:  column;
  justify-content: flex-start;
}

.h-tab_tab-head {
  display:        flex;
  flex-direction: row;
  margin:         0 0 5px 0;
  padding:        0;
  list-style:     none;
  width:          100%;

  li {
    font-size:     16px;
    margin:        0 0 1px 0;
    cursor:        pointer;
    padding:       0 20px;
    height:        32px;
    line-height:   31px;
    color:         $v-tab-head-color;
    overflow:      hidden;
    position:      relative;
    border-bottom: 3px solid $v-tab-border;

    &:hover {
      color:         #000;
    }

    &.active {
      border-bottom:    3px solid $v-border-color-active;
      background-color: #fff;
      color:            $v-active-tab;
      display:          block;
    }
  }
}

.h-tab_container {
  min-height: 200px;
  padding:    20px;
}
